package com.project.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author lyl
 * 2021-10-04
 */
@Data
@Accessors(chain = true)
public class RiderDto implements Serializable {

    /**
     * 骑手编号
     */
    private String code;

    /**
     * 骑手名字
     */
    private String name;

    /**
     * 骑手头图
     */
    private String pic;

    /**
     * 骑手电话
     */
    private String tel;

    /**
     * 骑手性别
     */
    private String sex;

    /**
     * 骑手状态
     */
    private String state;

    /**
     * 骑手当前余额
     */
    private Integer balance;

    /**
     * 注册时间
     */
    private String registrationTime;

//    /**
//     * 用户评级
//     */
//    private String star;

    /**
     * 骑手接单级别，可根据级别来进行更多的接单提成
     */
    private Integer level;

    /**
     * 骑手今日接单数量
     */
    private Integer todayOrderNum;

    /**
     * 骑手今日收入
     */
    private Integer todayIncome;

    /**
     * 骑手总收入
     */
    private Integer sumIncome;

    /**
     * 骑手希望进行提现的金额
     */
    private Integer riderGetMoney;

    public RiderDto() {
    }

    public RiderDto(String code, String name, String pic, String tel, String sex, String state, Integer balance,
                    String registrationTime, Integer level, Integer todayOrderNum, Integer todayIncome, Integer sumIncome) {
        this.code = code;
        this.name = name;
        this.pic = pic;
        this.tel = tel;
        this.sex = sex;
        this.state = state;
        this.balance = balance;
        this.registrationTime = registrationTime;
        this.level = level;
        this.todayOrderNum = todayOrderNum;
        this.todayIncome = todayIncome;
        this.sumIncome = sumIncome;
    }
}
